package com.stud.system.domain;

import com.stud.common.annotation.Excel;
import com.stud.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.*;

import java.util.Date;

/**
 * 系统文件关联对象 t_file_link
 *
 * @author Stud
 * @date 2022-10-08
 */
@ApiModel("系统文件关联")
@Data
@TableName("t_file_link")
public class FileLink extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Excel(name = "文件名")
    @TableField(condition = SqlCondition.LIKE)
    @ApiModelProperty(name = "fileName", value = "文件名")
    private String fileName;

    @Excel(name = "文件后缀名")
    @TableField(condition = SqlCondition.LIKE)
    @ApiModelProperty(name = "fileAss", value = "文件后缀名")
    private String fileAss;

    @Excel(name = "文件类型")
    @ApiModelProperty(name = "fileType", value = "文件类型")
    private String fileType;

    @Excel(name = "文件大小")
    @ApiModelProperty(name = "fileSize", value = "文件大小")
    private Long fileSize;

    @Excel(name = "OSS文件key")
    @ApiModelProperty(name = "fileKey", value = "OSS文件key")
    private String fileKey;

    @Excel(name = "业务ID")
    @ApiModelProperty(name = "businessId", value = "业务ID")
    private Long businessId;

    @Excel(name = "业务类型")
    @ApiModelProperty(name = "businessType", value = "业务类型")
    private String businessType;

    @Excel(name = "过期时间")
    @ApiModelProperty(name = "expirationTime", value = "过期时间")
    private Date expirationTime;

}
